package lab1;

public class AMD implements cpu{
	private String name;
	private int coreNum;
    private int price;
    
	@Override
	public void nameofcpu() {
		name = "ADM";
	}
	
	@Override
	public void priceofcpu() {
		price = 1000;
	}

	@Override
	public void coreNumofcpu() {
		coreNum = 8;	
	}
	
	public String getname()
	{
		return this.name;
	}
	
	public int getcoreNum()
	{
		return this.coreNum;
	}
	
	public int getprice()
	{
		return this.price;
	}
	
}
